package com.xyulu.entity.common;

/**
 * @Description TODO
 * @Author luming
 * @Date 2021/1/29
 * @Version 1.0
 */
public class MessageConstant {
    //全局异常
    public static final String EXCEPTION = "系统忙，请联系管理员";
    public static final String UNKNOWN_ERROR = "未知错误";
    //登录
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String CAPTCHA_ERROR = "验证码校验失败";
    public static final String USER_NOT_EXIST = "用户名不存在";
    public static final String PASSWORD_ERROR = "密码错误";
    public static final String USER_LOCKED = "该用户已被锁定，请联系管理员";
    public static final String LOGOUT_SUCCESS = "退出登录成功";
    //文章
    public static final String ARTICLE_DRAFT_SUCCESS = "保存草稿成功";
    public static final String ARTICLE_DRAFT_FAIL = "保存草稿失败";
    public static final String ARTICLE_SAVE_SUCCESS = "保存成功";
    public static final String ARTICLE_FIND_SUCCESS = "文章列表获取成功";
    public static final String ARTICLE_VIEW_UPDATE_SUCCESS = "可见状态修改成功";
    public static final String ARTICLE_VIEW_UPDATE_FAIL = "可见状态修改成功";
    public static final String ARTICLE_DELETE_TEMP_SUCCESS = "成功将该文章移到回收站";
    public static final String ARTICLE_DELETE_TEMP_FAIL = "文章移到回收站失败";
    public static final String ARTICLE_RECOVER_SUCCESS = "回收站恢复文章成功";
    public static final String ARTICLE_DELETE_FOREVER = "文章永久删除";
    public static final String ARTICLE_COMMENT_CHANGE_SUCCESS = "评论功能修改成功";
    public static final String ARTICLE_COMMENT_CHANGE_FIAIL = "评论功能修改失败";
    public static final String ARTICLE_VIEW_CHANGE_SUCCESS = "可视状态修改成功";
    public static final String ARTICLE_VIEW_CHANGE_FIAIL = "可视状态修改失败";
    //标签
    public static final String FIND_TAG_SUCCESS = "查找标签成功";

    //用户
    public static final String USER_FIND_SUCCESS = "用户列表获取成功";
    public static final String USER_STATUS_CHANGE_SUCCESS = "用户状态修改成功";
    public static final String USER_STATUS_CHANGE_FAIL = "用户状态修改失败";

    //上传下载
    public static final String UPLOAD_SUCCESS = "上传成功";
    public static final String UPLOAD_FAIL = "上传失败";

}
